﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Xml.Serialization;

namespace ColdSun.Commons.Entities
{
    [Serializable]
    public class Replacement
    {
        public string SheetName { get; set; }

        //[XmlElement(IsNullable = true)]
        [XmlArrayItem("Detail", Type = typeof(ReplacementDetail))]
        public List<ReplacementDetail> Details { get; set; }

        //[XmlElement(IsNullable = true)]
        [XmlArrayItem("Detail", Type = typeof(CopyColumnDetail))]
        public List<CopyColumnDetail> CopyColumnDetails { get; set; }

        public string SettlementColumn { get; set; }
        public string ContractIDColumn { get; set; }


        //[XmlElement(IsNullable = true)]
        [XmlArrayItem("Detail", Type = typeof(ReplaceTextDetail))]
        public List<ReplaceTextDetail> ReplaceTextDetails { get; set; }
    }
}
